package org.aforge.restfulapi.controller;

import java.io.IOException;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.http.HttpStatus;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseStatus;

@Controller
@RequestMapping("/")
public class GeneratorController {

	private Logger logger = LoggerFactory.getLogger(GeneratorController.class);

	@RequestMapping(value = "", method = RequestMethod.GET)
	@ResponseStatus(value = HttpStatus.OK)
	public String generateRESTfulAPI() throws IOException {
		return "/WEB-INF/view/jdbc-info-form.jsp";
	}

}
